View Issue Details

IDProjectCategoryView StatusLast Update
0001544T99X171.00 SKB EagleSW Issuepublic2022-11-10 13:02
Reporter(SW) Jerry Lin Assigned To(ALTech) Younkwang Jung Due Date
PrioritynormalSeveritys3-moderateReproducibilityalways
Status closedResolutionfixed 
Summary0001544: ATV10 upgrade to ATV12
DescriptionHi YK,
We found that when doing OTA update from ATV10 to ATV12.
We need to remove a piece of code added by sptek in order to update normally.
When starting an OTA update,
Sptek will delete the /cache/recovery/command file, which will cause the update to stop in recovery mode.

Currently ATV10 to ATV12 needs to enter the recovery mode twice to complete the OTA update.
But when entering recovery mode for the second time,
the OTA update fails because the /cache/recovery/command file is missing.

At the same time, we also tried to remove the sptek's code, and the result was good.

Please confirm updated behavior with sptek

Jerry
Steps To Reproduce1. push update.zip to /cache
2. write command file in /cache/recovery/command
3. reboot update
TagsNo tags attached.
Attach Tags

Users monitoring this issue

User List (ALTech) JunGyu Kim , (ALTech) SY Yoon

Activities

(ALTech) Younkwang Jung

2022-10-07 18:05

developer   ~0010993

HI Jason

SPTEK says other manufacturers only enter revocery mode once when upgrading from ATV10 to ATV12.
first, when upgrading the OS(ATV10 to ATV12), please check why it enters revovery mode twice.

Below is the method used by SPTEK, but I think it will be the same as your method.
- push update.zip to /cache
- write command file in /cache/recovery/command
   echo "--update_package=/cache/update.zip" > /cache/recovery/command
- reboot recovery

Thank you!!
YK.Jung

(ALTech) Younkwang Jung

2022-10-07 19:08

developer   ~0010994

Hi Jason

SPTEK informed to me incorrect information.
Inopia says it's right to enter recovery mode twice for an OS upgrade.
and INNOPIA has been successfully upgraded to OS.

We need debugging on this issue.
The print message is not automatically outputting console at recovery mode
Which code should I modify to automatically print to the console at recovery mode?

Thank you!!
YK.Jung

(SW) Jerry Lin

2022-10-11 10:29

developer   ~0011000

Hi YK,
1. The kernel console message is currently closed, and about the recovery log, it should be stored in /cache/recovery
2. I will look again to see if there is another way to do it

Jerry

(ALTech) Younkwang Jung

2022-10-12 12:00

developer   ~0011021

Hi Jerry , Jason

In case of INTEK, recovery mode is executed once when upgrading from current ATV10 to ATV12.
Because it is the same partition table, INTEK modified it to enter recovery mode only once.
Please review this method.
Is this a more comfortable way or a more stable way?

Thank you!!
YK.Jung

(SW) Jerry Lin

2022-10-12 18:51

developer   ~0011027

Hi YK,
I have tried to doing an OTA update once in recovery mode.
Our BFX-AT100 device seems to fail to update because of different partitions.
ATV10 does not support odm_ext partition.
So the update will fail.

Jerry

(ALTech) Younkwang Jung

2022-10-13 07:56

developer   ~0011029

Hi Jerry

I heard that INTEK and INNOPIA deleted odm_ext partation at ATV12
Please consider deleting the odm_ext partition.

Thank you
YK.Jung

(SW) Jerry Lin

2022-10-13 16:56

developer   ~0011042

Hi YK,
Thanks for your help, this feature is done.

Jerry

Issue History

Date Modified Username Field Change
2022-10-07 16:15 (SW) Jerry Lin New Issue
2022-10-07 16:15 (SW) Jerry Lin Status new => assigned
2022-10-07 16:15 (SW) Jerry Lin Assigned To => (ALTech) Younkwang Jung
2022-10-07 18:04 (ALTech) Younkwang Jung Issue Monitored: (ALTech) SY Yoon
2022-10-07 18:04 (ALTech) Younkwang Jung Issue Monitored: (ALTech) JunGyu Kim
2022-10-07 18:05 (ALTech) Younkwang Jung Note Added: 0010993
2022-10-07 19:08 (ALTech) Younkwang Jung Note Added: 0010994
2022-10-11 10:29 (SW) Jerry Lin Note Added: 0011000
2022-10-12 12:00 (ALTech) Younkwang Jung Note Added: 0011021
2022-10-12 18:51 (SW) Jerry Lin Note Added: 0011027
2022-10-13 07:56 (ALTech) Younkwang Jung Note Added: 0011029
2022-10-13 16:56 (SW) Jerry Lin Note Added: 0011042
2022-11-10 13:02 (ALTech) Younkwang Jung Status assigned => closed
2022-11-10 13:02 (ALTech) Younkwang Jung Resolution open => fixed